package com.py.credit.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.py.framework.core.common.Page;

public interface HomeCreditMapDao {

	 List<Map> queryListOfEmptyAdd();
	
	 List<Map> queryListOfEmptyAddPer();
	
	 void updateEmptyAddAll(@Param(value = "list") List<Map> list);

	 void updateEmptyAddAllPer(@Param(value = "list") List<Map> list);

	 List<Map> queryAllAreaCodes();
	
	 List<Map<String,String>> getMapData(@Param(value="type")String type,@Param(value="mainType")String mainType,@Param(value="deptid")String deptid);
	
	 List<Map<String,String>> countByType();
	 
	 Integer bodyCorporateCount();
	 
	 List<Map<String, String>> selectUniqueByKeyForPage(@Param(value = "kId") String kId,
				@Param(value = "whereSql") String whereSql, @Param(value = "page") Page page);
	 
	 String selectIndexName(@Param(value="list")List<String> list);
	 
	 String selectTableCode(@Param(value="id")String id);
	 
	 List<Map<String, Object>> selectDataById(@Param(value="tableCode")String tableCode,@Param(value="tybm")String tybm);
}
